/**
 * @Author: arshost
 * @Description: CouseEntity class DAO 接口
 * @Date: Created in 8:00 2017/4/8
 * @Modified By:
 */
package selcoursesys.dao;
import selcoursesys.entity.AcademyEntity;
import selcoursesys.entity.CourseEntity;
import java.util.List;

public interface CourseDAO {
    boolean delCourse(CourseEntity courseEntity);
    boolean updateCourse(CourseEntity courseEntity);
    boolean checkCourse(CourseEntity courseEntity);
    boolean insertCousrse(CourseEntity courseEntity);
    List<CourseEntity> queryCourse(CourseEntity courseEntity);
    CourseEntity queryCourseId(CourseEntity courseEntity);
    List<CourseEntity> queryCourseAid(String cid);
    CourseEntity queryCourseTid(String tid);
    List<CourseEntity> queryCourseAll(String ctype,String term,String majorAb);
    CourseEntity queryCourseById(String courseid);
    List<CourseEntity> queryAllCourse();
    List<CourseEntity> queryCourseCourseName(String keyword);
}